![]() |
pCon.planner Plugin SDK
Version 8.16
|
A three dimensional double vector or point. More...
Public Member Functions | |
| GeVec3d (double x, double y, double z) | |
| Constructor. More... | |
| GeVec3d (double v) | |
| Initializes x, y and z with same value. More... | |
| GeVec3d | Normalized () |
| Returns a new vector with normalized length. More... | |
| double | DotProduct (GeVec3d v) |
| Returns the dot product of this vector with another vector. More... | |
| GeVec3d | CrossProduct (GeVec3d v) |
| Returns the cross product of this vector with another vector. More... | |
| bool | IsSame (GeVec3d other, double tol) |
| Returns true if this vector equals another vector using a tolerance. More... | |
| GeVec3f | ToVec3f () |
| Converts this vector to GeVec3f. More... | |
Public Attributes | |
| double | x |
| X coordinate. More... | |
| double | y |
| Y coordinate. More... | |
| double | z |
| Z coordinate. More... | |
Properties | |
| double | Length [get] |
| Returns the length of the vector. More... | |
| double | Length2 [get] |
| Returns the squared length of the vector. More... | |
A three dimensional double vector or point.
| X3g::Plugin::GeVec3d::GeVec3d | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Constructor.
| X3g::Plugin::GeVec3d::GeVec3d | ( | double | v) |
Initializes x, y and z with same value.
Returns the cross product of this vector with another vector.
| double X3g::Plugin::GeVec3d::DotProduct | ( | GeVec3d | v) |
Returns the dot product of this vector with another vector.
| bool X3g::Plugin::GeVec3d::IsSame | ( | GeVec3d | other, |
| double | tol | ||
| ) |
Returns true if this vector equals another vector using a tolerance.
| GeVec3d X3g::Plugin::GeVec3d::Normalized | ( | ) |
Returns a new vector with normalized length.
| double X3g::Plugin::GeVec3d::x |
X coordinate.
| double X3g::Plugin::GeVec3d::y |
Y coordinate.
| double X3g::Plugin::GeVec3d::z |
Z coordinate.
|
get |
Returns the length of the vector.
|
get |
Returns the squared length of the vector.
1.8.4